package com.ruoyi.project.hcy.task.service;

import com.ruoyi.project.hcy.administrations.domain.Crew;
import com.ruoyi.project.hcy.task.domain.Task;
import com.ruoyi.project.hcy.task.domain.TaskTransfer;

import java.util.List;

/**
 * 任务转移 服务层
 */
public interface ITaskTransferService {
    List<TaskTransfer> selectTaskTransferList(TaskTransfer taskTransfer);

    Crew selectCrewOfTask(Long taskId);

    int insertTransfer(TaskTransfer taskTransfer, Long taskId, Long userId);

    List<Task> selectTaskList();

    int deleteTaskTransferByIds(String ids);

    TaskTransfer selectTaskTransferById(Long transferId);

    int updateTaskTransfer(TaskTransfer taskTransfer);

    int verifyTaskTransfer(TaskTransfer taskTransfer, Long crewId, Long taskId);

    List<Crew> selectCrews();

}
